package com.ruoyi.system.service;

import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.bo.KfnWorkOrderStorePandoraBo;
import com.ruoyi.system.domain.vo.KfnWorkOrderStorePandoraVo;

import java.util.Collection;
import java.util.List;

/**
 * 潘多拉店铺Service接口
 *
 * @author Panda
 * @date 2024-01-05
 */
public interface IKfnWorkOrderStorePandoraService {

    /**
     * 查询潘多拉店铺
     */
    KfnWorkOrderStorePandoraVo queryById(Long storeId);

    /**
     * 查询潘多拉店铺列表
     */
    TableDataInfo<KfnWorkOrderStorePandoraVo> queryPageList(KfnWorkOrderStorePandoraBo bo, PageQuery pageQuery);

    /**
     * 查询潘多拉店铺列表
     */
    List<KfnWorkOrderStorePandoraVo> queryList(KfnWorkOrderStorePandoraBo bo);

    /**
     * 新增潘多拉店铺
     */
    Boolean insertByBo(KfnWorkOrderStorePandoraBo bo);

    /**
     * 修改潘多拉店铺
     */
    Boolean updateByBo(KfnWorkOrderStorePandoraBo bo);

    /**
     * 校验并批量删除潘多拉店铺信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
